package com.agou.ssh.web.tree;

import java.util.ArrayList;
import java.util.List;

import com.agou.core.enums.EnTreeNodeType;

public class TreeNode {
	public String id;
	public String name;
	public String url;
	public EnTreeNodeType type;//结点类型
	public String pid;//父ID；
	public String dataOption;//数据操作属性 【jquery easy ui】
	private List<TreeNode> subTreeNode = new ArrayList<TreeNode>();//子结点
	
	public void addSubTreeNode(TreeNode node){
		subTreeNode.add(node);
	}
	
	public List<TreeNode> getSubTreeNode(){
		return subTreeNode;
	}
}
